{template "common","header"}
<script type="text/javascript" src="{JS_PATH}hchhr.js" charset="UTF-8"></script>
<link href="{CSS_PATH}hchhr.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}font-awesome.min.css" rel="stylesheet" type="text/css" />
<!-- tabs js -->
<script src="{JS_PATH}jquery.tabslet.min.js"></script>
<script>
    $(document).ready(function(){
        $('.job_more').tabslet();
    });
</script>
<!-- //tabs js -->

<div class="wrap hr" id="wrap">
    <div class="bullet">
        <div class="bullet_title">| <label>华创俱乐部 HCCLUB</label></div>
        <div class="bullet_menu">
            <a href="/">首页</a>>
            <a href="/?m=hchhr&c=index&a=init">人才对接</a>>
            招聘模块
        </div>
    </div>
    <hr>
    <div class="job_details">
        <div class="job_main">
            <h1>{$job[job_name]}</h1>
            <div class="company_name">{$job[company]}</div>
            <?php
            if($job['tag']!=''){
                $tmparr = explode(',',$job['tag']);
            ?>
            <div class="job_welfare">
                <?php
                    foreach($tmparr as $v){
                ?>
                <span><?php echo $v; ?></span>
                <?
                    }
                ?>
            </div>
            <?php
            }
            ?>
            <div class="job_info">
                <table width="100%" border="0" cellpadding="0" cellspacing="2">
                    <tr>
                        <td width="50%" height="35"><b>职位月薪：</b>{$job[salary]}元/月</td>
                        <td width="50%"><b>工作地点：</b>{$job[province]}{$job[city]}</td>
                    </tr>
                    <tr>
                        <td height="35"><b>工作经验：</b>{$job[work_years]}年</td>
                        <td><b>工作性质：</b>{$job[job_type]}</td>
                    </tr>
                    <tr>
                        <td height="35"><b>招聘人数：</b>{$job[number]}人</td>
                        <td><b>最低学历：</b>
                        <?php
                            switch($job['education'])
                            {
                                case 1:
                                    echo '高中及以下';
                                    break;
                                case 2:
                                    echo '中专';
                                    break;
                                case 3:
                                    echo '大专';
                                    break;
                                case 4:
                                    echo '本科';
                                    break;
                                case 5:
                                    echo '硕士';
                                    break;
                                case 6:
                                    echo '博士';
                                    break;
                                default:
                            }
                        ?>
                        </td>
                    </tr>
                    <tr>
                        <td height="35"><b>发布日期：</b><?php echo date('Y-m-d',strtotime($job['last_updated_time'])); ?></td>
                        <td><b>职位类别：</b>{$job[position_name]}</td>
                    </tr>
                </table>
            </div>
            <div class="job_more">
                <ul>
                    <li><a href="#tab-1">职位描述</a></li>
                    <li><a href="#tab-2">公司简介</a></li>
                </ul>
                <div id="tab-1" class="job_content">
                    <div>{$job[job_desc]}</div>
                    <input class="btn_apply" type="button" value="立即申请">
                </div>
                <div id="tab-2" class="job_content">
                    {$job[self_intro]}
                </div>
            </div>
        </div>
        <div class="job_aside">
            <div class="job_apply"><input class="btn_apply" type="button" value="立即申请"></div>
            <div class="company_img"><img src="<?php if($job['avatar']!=''){
                echo $job['avatar'];
            }
            else{
                echo '/statics/images/member/nophoto.gif';
            }?>" width="230"></div>
            <div class="company_name">{$job[company]}</div>
            <div class="company_info">
                <?php
                if(isset($userid) && !empty($userid)){
                ?>
                <p><b>公司地址：</b>{$job[company_addr]}<br>
                <b>联系电话：</b>{$job[link_tel]}<br>
                <b>电子邮箱：</b>{$job[link_mail]}</p>
                <?php } else { ?>
				<p style="text-align:center;"><a style="color:red; font-size:16px;display:inline-block; width:200px; height:30px; line-height:30px; text-decoration:underline;" href="/index.php?m=hchmember&c=index&a=login">登录后查看联系方式</a></p>
                <?php } ?>
            </div>
        </div>
    </div>
</div>

{template "common","footer"}